import request from '@/utils/request'


/**
 * 查询采购单列表
 * @param query
 * @returns {*}
 */
export function listPurchase(query) {
  return request({
    url: '/mes/wm/purchaseOrder/list',
    method: 'get',
    params: query
  })
}
export function getPurchaseTotal() {
  return request({
    url: '/mes/wm/purchaseOrder/getTotalPrice',
    method: 'get'
  })
}
